package com.Iconcat.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CatToken对象", description="用户追踪的Token信息")
public class CatToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键-token值")
    @TableId(value = "token", type = IdType.AUTO)
    private String token;

    @ApiModelProperty(value = "最后更新时间")
    private Date lastupdate;


}
